package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class User extends BaseDomain {
    private String email; // 邮箱

    private String nickName; // 昵称

    private String password; //密码

    private String place; //地址

    private String headImgUrl; // 头像

    private Integer gender = -1; // 性别

    private String coverImgUrl; // 背景墙

    private String sign; // 个性签名

    public String getUserGender(){
        if(gender == 1){
            return "男";
        } else if(gender == 0){
            return "女";
        } else{
            return "保密";
        }
    }

}